﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/AdminInfo/Views/Shared/_LayoutPage1.cshtml";
    Gtkj.CMS.App.Areas.AdminInfo.Controllers.MainData MainData = null;
    if (ViewBag.Data!=null) 
    {
        MainData = ViewBag.Data;
    }
}
<script src="~/Scripts/jquery-1.10.2.js"></script>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>网站一览</legend>
</fieldset>
<div class="index">

    <div class="index_m">
        <div class="index_ml fl">
            <div class="index_mla fl">
                <span class="index_mlal fl">
                    <img src="/Content/Admin/images/ad.jpg" />
                    <i>admin</i>
                </span>
                <span class="index_mlar fl">
                    <p>欢迎登录绿茶科技企业CMS管理系统！</p>
                    <p>帐户级别：直接客户</p>
                </span>
                <div class="cl"></div>
            </div>
            <div class="index_mlb fl">
                <p>文章总数：<i>@(MainData == null ? 0 : MainData.newCount)</i>篇</p><p>产品总数：<i>@(MainData == null ? 0 : MainData.ProductCount)</i>个</p>
            </div>
           
            <div class="cl"></div>
        </div>
        
        <div class="cl"></div>
    </div>
</div>